import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import "./assets/common.css";
import animated from "animate.css";
Vue.use(animated);
// 配置elementui，完整引入
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
// 引入flexible
import "lib-flexible";

// 引入echarts配置
import * as echarts from "echarts";

Vue.config.productionTip = false;

Vue.use(ElementUI);

Vue.prototype.$echarts = echarts;

import vuedrag from './utils/vueDrag'
Vue.directive(vuedrag)


new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
